package com.lapelife.backend.mapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import com.lapelife.backend.model.domain.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
* @author Mir.Lliao
* @description 针对表【sys_user(用户信息表)】的数据库操作Mapper
* @createDate 2023-04-23 20:08:21
* @Entity com.lapelife.backend.model.domain.SysUser
*/
@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {
    SysUser selectOneByUserName(@Param("userName") String userName);

    Integer addDefaultUserRole(@Param("id") Long id);
}




